package cn.bgs.service;

import cn.bgs.Exception.PhoenixException;
import cn.bgs.pojo.ClassRoom;

import cn.bgs.pojo.Student;
import cn.bgs.pojo.VoAll.ClassRoomVo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author Mr.JIA
 * @DATE 2021/7/26 0026 9:38
 * @PROJECT_NAME mybatis_phoenix
 * @PACKAGE_NAME cn.bgs.service
 */
public interface RoomService {


    List<Student> findAllRoom(ClassRoomVo vo);

    Integer delRoom(int pkId);

    Integer addRoom(ClassRoom ro);


    Integer updateRoom(ClassRoom cc) throws PhoenixException;


    List<ClassRoom> findArea();

    List<ClassRoom> findBuildingNo(String buildingNo);

    List<ClassRoom> findBuildingFloor(String floor,String no);
}
